body {
  --arcoblue-5: 70, 166, 255;
  --arcoblue-6: 24, 144, 255;
  --panel-header-text-size: 12px;
  --panel-header-text-weight: 700;
}

body[arco-theme='dark'] {
  --arcoblue-5: 70, 166, 255;
  --arcoblue-6: var(--primary-7);
}

body[arco-theme='dark'] {
  .arco-input-wrapper,
  .arco-textarea-wrapper,
  .arco-select-view,
  .arco-input-tag,
  .arco-picker {
    background-color: var(--color-fill-2);
    &:hover {
      background-color: var(--color-neutral-1);
    }
    &:active {
      background-color: var(--color-neutral-1);
    }

    &.arco-input-disabled {
      cursor: not-allowed;
      background-color: var(--color-fill-1);
      &:hover {
        background-color: var(--color-fill-1);
      }
    }
  }
}

.ant-select {
  width: 100%;
}
.arco-input-wrapper,
.arco-textarea-wrapper,
.arco-select-view,
.arco-input-tag,
.arco-picker {
  border-color: var(--color-fill-4);
  background-color: var(--color-white);
  &:hover {
    border-color: rgb(var(--primary-6));
    background-color: var(--color-white);
  }
  &:active {
    border-color: rgb(var(--primary-6));
    background-color: var(--color-white);
  }
}
.arco-popconfirm-popup-content .arco-popconfirm-footer {
  white-space: nowrap;
}

.arco-drawer {
  .arco-picker,
  .arco-input-group {
    width: 100%;
  }
}

.arco-divider-text.arco-divider-text-center {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.arco-tabs.arco-tabs-horizontal .arco-tabs-content {
  height: calc(100% - 36px);
  .arco-tabs-content-list {
    height: 100% !important;
  }
  .arco-tabs-pane {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
}

.arco-empty-description {
  font-size: 12px;
}

.ding-panel_body {
  .arco-collapse-item-active > .arco-collapse-item-header .arco-collapse-item-header-title {
    font-weight: 700;
  }
  .arco-collapse-item-header {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .arco-collapse-item-header-title {
    word-break: break-all;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--panel-header-text-size);
    font-weight: var(--panel-header-text-weight);
  }
  .arco-collapse-item-content {
    background-color: var(--color-bg-4);
  }
}
.arco-picker,
.arco-input-group {
  width: 100%;
}

.arco-input-tag.arco-input-tag-readonly {
  border: 1px dashed var(--color-neutral-3);
  background-color: transparent;
}
.arco-checkbox-group {
  display: flex;
  flex-direction: column;
}
.tag-input-flex {
  height: 100%;
  min-width: 800px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.header-tags {
  flex-shrink: 0;
  min-height: 40px;
  grid-area: header;
  border: 1px solid var(--color-neutral-1);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.header-tags_tip {
  flex-shrink: 0;
}
.tag-input-grid {
  flex: 1;
  flex-shrink: 0;
  min-width: 800px;
  display: grid;
  grid-template-areas: 'org table';
  grid-template-columns: var(--columns);
  overflow: hidden;
}
.tag-input-special-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 360px 1fr;
  grid-template-areas: 'org table';
  overflow: hidden;
}
.left-org-tree,
.right-table {
  border: 1px solid var(--color-neutral-1);
  box-sizing: border-box;
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tree-content {
  flex: 1;
  overflow-y: auto;
}
.table-content {
  flex: 1;
  //overflow-y: auto;
  overflow: hidden;
}